package com.djs.redis;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

/**
 * @Description
 * @auther dengjingsi
 * @create 2020-03-15 23:27
 */
public interface IJedisOperator {
    /**
     * 初始化
     */
    public void init();
    /**
     * 获取Jedis实例
     * @return
     */
    public Jedis getJedis();

    /**
     * 注销资源
     */
    public void destroy();
}
